﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Plugin.aspx.cs" Inherits="Plugin" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="jQueryNET" Namespace="jQueryNET" TagPrefix="cc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title></title>
	<link href="Plugins/jqModal.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript">

	function pageLoad() {
	}

	function showDialog() {
		$('#dialog').jqm({modal:true});
		$('#dialog').jqmShow();
	}
	
	</script>

</head>
<body>
	<form id="form1" runat="server">
	<div>
		<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" />
		<cc2:Plugin ID="Plugin1" runat="server" Path="./Plugins/jqModal.js" />
		<div id="dialog" style="display:none; position:absolute">This is dialog</div>
		<input type="button" value="test" onclick="showDialog()" />
	</div>
	</form>
</body>
</html>
